<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
<LINK REL="Start" HREF="index.html">
<LINK REL="Contents" HREF="toc.html">
<LINK REL="Prev" HREF="7110Adjustingthegridlinesintheplot.html">
<LINK REL="Next" HREF="7112SpecifyingtextlabelsfortheXaxis.html">
<STYLE TYPE="text/css"><!--
BODY { font-family: serif }
H1 { font-family: sans-serif }
H2 { font-family: sans-serif }
H3 { font-family: sans-serif }
H4 { font-family: sans-serif }
H5 { font-family: sans-serif }
H6 { font-family: sans-serif }
SUB { font-size: smaller }
SUP { font-size: smaller }
PRE { font-family: monospace }
A { text-decoration: none }
--></STYLE>
</HEAD>
<BODY>
<A HREF="toc.html">Contents</A>
<A HREF="7110Adjustingthegridlinesintheplot.html">Previous</A>
<A HREF="7112SpecifyingtextlabelsfortheXaxis.html">Next</A>
<HR NOSHADE>
<H3><A NAME="7_1_11">7.1.11 Using filled grid lines</A></H3>
<P> Another option for the grid lines is the possibility to have the
 area between the grid lines filled with alternating two colors. The
 example below illustrates this.<DIV class="example">
<BR> <A href="exframes/frame_filledgridex1.html" target="blank"><IMG border="0"
HEIGHT="200"       src="img/img/img/img/img/img/filledgridex1.png" WIDTH="300"></A>
<BR><B>Figure 21:</B> Using two alternating colors between the gridlines
 <A href="exframes/frame_filledgridex1.html" target="blank">[src]</A>&nbsp;
<P></P>
</DIV></P>
<P> In the example above we have also made use of alpha-blending
 (requires GD 2.x or higher). By default the filled grid lines are
 disabled. To enable this style you have to call the <A href="../ref/Grid.html#_GRID_SETFILL">
Grid::SetFill()</A> method.</P>
<HR NOSHADE>
<A HREF="toc.html">Contents</A>
<A HREF="7110Adjustingthegridlinesintheplot.html">Previous</A>
<A HREF="7112SpecifyingtextlabelsfortheXaxis.html">Next</A>
</BODY>
</HTML>
